Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Are you a current Fivetran customer?
Yes, part of dbt Labs internal analytics team!
What change(s) does this PR introduce?
Enable historical modeling: updated the
stg_zendesk__group
model to keep deleted groups. Addedis_deleted
tag to enable filtering in downstream models.Use case: building a historical model of each ticket states at each field update. Would need to override the package model to get group name for historical tickets with deleted groups:
Did you update the CHANGELOG?
Does this PR introduce a breaking change?
The
stg_zendesk__group
is a usually small table and is only ever used to join in group names to other downstream models in thefivetran/zendesk
package. This means models will only be enriched better downstream for historical tickets.Note: the
is_deleted
tag can be used by teams to filter out outdated records in models outside of these packages, but leaving as is is non breaking.Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)
Is this PR in response to a previously created Bug or Feature Request
How did you test the PR changes?
Installed
fivetran/zendesk
package (team is only usingfivetran/zendesk_source
) & build all package models:Results:
Validation on project: test is now passing
Select which warehouse(s) were used to test the PR
Provide an emoji that best describes your current mood
☀️
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.